// 全电相关
import request from '@/utils/request'
const pathApi = {
  lineList() {
    return request({
      url: '/line/list',
      method: 'GET'
    })
  },
  deleteByLineId(lineId) {
    return request({
      url: `/line/${lineId}`,
      method: 'DELETE'
    })
  },
  createLine(data) {
    return request({
      url: '/line',
      method: 'POST',
      data
    })
  },
  regionLineScope() {
    return request({
      url: '/region/line-scope',
      method: 'GET'
    })
  }

}
export default pathApi
